package cn.weiyang.testArray;



public class test01 {
	public static void main(String[] args){
		int[] a=new int[4];
		a[0]=1;
		a[1]=2;
		a[2]=3;
		a[3]=4;
		for(int i=0;i<a.length;i++){
			System.out.println(a[i]);
		}
		OPPO[] op=new OPPO[2];
		op[0]=new OPPO("R1");
		
		op[1]=new OPPO("R3");
		for(int i=0;i<op.length;i++){
			System.out.println(op[i].type);
		}
	}

}
class OPPO{
	String type;
	public OPPO(String type){
		this.type=type;
	}
	
}
